home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / September 96 / Re(2) Not Displaying Save Di.1 < prev    next >
Encoding:
Internet Message Format  |  1996-09-19  |  1.7 KB  |  [TEXT/ttxt]

  1. Subject:     Re(2): Not Displaying Save Dialog
  2. Sent:        9/18/96 9:52 AM
  3. Received:    9/18/96 9:52 AM
  4. From:        Troy Gaul <tgaul@apple.com>
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List
  7.  
  8.  
  9. >>:>>If a user opens a document with read/write permission and then closes it
  10. >>:>>without modifing it, a dialog opens asking to save the document.  How do
  11. >>:>>I prevent the dialog from coming up.
  12. >>:>
  13. >>:>This shouldn't happen normally. However, there are occasions that I know of
  14. >>:>when this will happen. It occurs when OpenDoc must update some information
  15. >>:>about the document in order to sync it with the file system (updating its
  16. >>:>name, for example). This marks the document as dirty and that's why you
  17. >>:>see the save dialog.
  18. >>:
  19. >>:This also happens when the user scrolls the document. Try this with
  20. >>:ODFDraw: open an ODFDraw document, scroll it, and then close it. The user
  21. >>:thinks he made no modification, but OpenDoc thinks otherwise.
  22. >>
  23. >>Perhaps ODFDraw externalizes some description related to scrolling.  In
  24. >>this case it is ODFDraw that thinks otherwise.  OpenDoc must honor parts'
  25. >>ideas about when content is changed, because OpenDoc cannot know about
  26. >>all kinds of content.
  27. >
  28. >Can someone from the ODF team comment on this?
  29.  
  30. I'm not on the ODF team, but I'll comment anyway.  ODFDraw changes the
  31. internal transform of the frame (which is persistent).  This causes OpenDoc
  32. to 'dirty' the document.
  33.  
  34. _troy
  35.  
  36. ......................................................................
  37.  Troy Gaul                                            tgaul@apple.com
  38.  Apple Computer, Inc.                                   OpenDoc Parts